<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>新增异常信息</title>
		<link rel="stylesheet" type="text/css" href="../../css/style.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/form.css"/>
	</head>
	<body>
		  <!-- 蓝色背景区域 -->
    <div class="wrap">
        <!-- 白色可用区域 -->
        <div class="canuse">
            <!------ 位置 ------>
            <p class="contentText local">
                <span>位置：生产过程管理>生产异常反馈 > 新增异常信息</span>
            </p>
            <h4 class="sel_title">
                <img src='../../img/list/brand1.png' /><span>生产异常信息</span><span class="necessary">（带*号为必填项）</span>
            </h4>
            <div class="write_area">
                <form method='post' id="formArea">
                   <table class="contentText" id="formTable">
                        <tr>
                            <th>异常编号:</th>
                            <td><input value='YC001' disabled="disabled" name="planCode" /> <input type='hidden'
                                name="id" value='${productPlan.id}' /> <input type='hidden' name="type" value=1 /><span
                                style='color: red;'>*</span></td>
                            <th>计划号:</th>
               				  <td><input name="planNumber" value="" readonly="readonly" /><span
                                style='color: red;'>*</span></td>
                            <th>产品代号:</th>
                            <td><input id="planAmount" name="planAmount" readonly value="" /><span style='color: red;'>*</span></td>
                        </tr>
                          <tr>
                            <th>零部件代号:</th>
                            <td><input name="planStartTime" value=""
                                readonly="readonly" /></td>
                            <th>生产批次号:</th>
                            <td><input name="planStartTime" value="	"
                                readonly="readonly" /></td>
                            <th>工艺编号:</th>
                            <td><input name="planEndTime" value="" readonly="readonly" /></td>
                        </tr>
                          <tr>
                            <th>工艺版本:</th>
                            <td><input name="planStartTime" value=""
                                readonly="readonly" /></td>
                            <th>工序号:</th>
                            <td><input name="planStartTime" value="	"
                                readonly="readonly" /></td>
                            <th>工序名称:</th>
                            <td><input name="planEndTime" value="" readonly="readonly" /></td>
                        </tr>
                        <tr>
                           	<th>产品编号:</th>
                            <td><input name="planStartTime" value=""
                                readonly="readonly" /></td>
                            <th>异常类型:</th>
                            <td> <select id = "orderSelect">
					    		    <option value = "">类型一</option>
	                            	<option value="">类型二</option>
               					 </select></td>
                                <th>紧急程度:</th>
                                <td>
                                 <select id = "orderSelect">
					    		    <option value = "是">一般</option>
	                            	<option value="否">紧急</option>
               					 </select>
               					 <span style='color: red;'>*</span></td>
                        </tr>
                           <tr>
                            <th>提出人:</th>
                            <td><input name="planStartTime" value=""
                                readonly="readonly" /></td>
                            <th>提出时间:</th>
                            <td><input name="planEndTime" id="dateControl" value="" readonly="readonly" /></td>
                       		 </tr>
                        <tr>
                        	 <th>上传附件:</th>
                            <td colspan='5'><img onclick='uploadFile(this);' src='../../img/file/uploadFile.png'  /><input style='width:100%; display:none;' id = 'uploadfile1' type='file' class = 'processfile' name = 'processfile' onchange ='fileUpload(this)'  value=''></td>
                        </tr>
                        <tr>
                        	 <th>异常描述:</th>
                            <td colspan='5'><textarea style='width: 95%; height: 60px;' name="remark" id="remark"></textarea></td>
                        </tr>
                        <tr>
                            <th>备注:</th>
                            <td colspan='5'><textarea style='width: 95%; height: 60px;' name="remark" id="remark"></textarea></td>
                        </tr>
                    </table>
                </form>
                <div class="btn_submit" align="center">
					<a href="productionAbnormalFeedback.html" class="bgd_blue_two img_hand" id="saveAdd">保存</a>
                    <a href="productionAbnormalFeedback.html" class="bgd_white_two img_hand" id="goBack">返回</a>
                </div>
            </div>

        </div>
        <!-- 版尾 -->
        <div class="ending">Copyright© 2019-2020  磐基技术有限公司</div>
    </div>
	</body>
	<script src="../../js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/3rd/jquery-ui.js" type="text/javascript"></script>
	<script type="text/javascript">
		var h = document.documentElement.clientHeight;
		$(".wrap").css("height", h);
		
		// 日期控件
		$(function(){
	        $("#dateControl").datepicker({
	        	dateFormat : 'yy-mm-dd',
	            monthNamesShort:["January","February","March","April","May","June", "July","August","September","October","November","December"],
	 		 	changeYear:true,
	 		 	changeMonth:true,
	 		 	showOn:"button",
	 		 	buttonImage:"../../img/button/calendar.png",
	 		 	buttonImageOnly:false
	        });
	     });
	</script>
</html>
